﻿@using System.Collections
@model IEnumerable<MMSWebsite.Models.Customer>
<style type="text/css">
    label {
        color:gold
    }
</style>
<ul data-role="listview"  data-filter="true" style="margin: auto" >
    @foreach (var item in Model)
    {
        <li style="padding:5px; border-radius: 20px; text-shadow:1px 1px black"  >
        <div style="padding: 10px;">
            @Html.Label("Customer"):  @item.Name
            <br/>
            @Html.Label("Address"):  @item.NumberAddress, @item.Area.DistrictName, @item.Area.CityName
            <br/>
           @Html.Label("Phone"):  @item.Phone</div>
            @* <a style="font-style: italic; text-align: center" href="@Url.Action("Details","CusMgn", new {id = item.Id})" >View more detail</a>*@
            <input type="button" value="View more details" data-icon="arrow-r" onclick="location.href = '@Url.Action("Details", "CusMgn", new { id = item.Id })'">
            
        </li>
    }

</ul>
    
